package shopping;

public class Goods {
	private String Name;
	private double Price;
	private int Last;


	

	public Goods(String name, double price, int last) {
		
		Name = name;
		Price = price;
		Last = last;
	}

	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	public double getPrice() {
		return Price;
	}

	public void setPrice(double price) {
		Price = price;
	}

	public int getLast() {
		return Last;
	}

	public void setLast(int last) {
		Last = last;
	}
	
	

}

